<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>recgames</title>
<link rel="stylesheet" type="text/css" href="../style/layout.css" />
<link rel="stylesheet" type="text/css" href="/style/layout.css" />

</head>
<body>
	<%@ include file="/include/header.jsp" %>
	
	<div id="mainContainer">
		<form action="j_security_check" method="post" id="loginForm">
			<br/>
			<span id="error"><% 
		if(request.getParameter("error")!=null){
			out.println(request.getParameter("error"));
		}
		
	%></span>
	
	<br/>
			<label for="username">Username</label>
			<input type="text" name="j_username">
			<label for="password">Password</label>
			<input type="password" name="j_password">
			<input type="submit" value="Login">
		</form>
		<p id="meta">Welcome to recgames. This application was built using <a>Tomcat</a>, <a>Java</a> and <a>Postgres</a>.</p>
		<p> Not a registered user? <a href="../register.jsp">Sign up</a>
	</div>
</body>
</html>